
const app = getApp();

Page({
  data: {
   
  },
  onLoad: function (options) {
    console.log(options);
    console.log(app.globalData)
    var that = this;
    that.setData({
      title: options.title,
      is_url: options.is_url,
      content: app.globalData.content
    }, function () {
      if (options.is_url == 1) {
        wx.setNavigationBarTitle({
          title: options.title,
        })
      }
    })
  },
})